﻿var sharebookmarks = {
	onLoad: function() {
		// initialization code
		this.initialized = true;
		this.strings = document.getElementById("sharebookmarks-strings");
	},
	
	onMenuItemCommand: function(e) {
		var dialogWindow = window.openDialog(
							"chrome://sharebookmarks/content/sharebookmarksDialogWindow.xul",
							"addingWindow", 
							"chrome,centerscreen");
	},
	
	onToolbarButtonCommand: function(e) {
		sharebookmarks.onMenuItemCommand(e);
	}
	
};

window.addEventListener("load", function () { sharebookmarks.onLoad(); }, false);
